package pri.damai.xiaowu.auth.security.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 登录参数
 * @Desc
 * @Author DaMai
 * @Date 2021/10/13 17:47
 * 但行好事，莫问前程。
 */
@Data
@Schema
public class LoginData {

    @Schema(description = "登录方式(手机号登录:PHONE_CODE")
    private String loginType;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "校验码(loginType=PHONE_CODE时,此值为短信验证码)")
    private String code;
}
